Skip to content

test(e2e): add emission coverage for triggers, action-pins, breaking-gate#344

Merged
joshua-temple merged 3 commits into
mainfrom
test/e2e-emission-coverage
Jun 25, 2026
Merged

test(e2e): add emission coverage for triggers, action-pins, breaking-gate#344
joshua-temple merged 3 commits into
mainfrom
test/e2e-emission-coverage

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Closes #324, #327, #322.

Adds e2e scenarios asserting generated-workflow constructs the LIVE fleet cannot drive (so they belong in the act+gitea/emission layer):

#319 merge_queue emission was already covered (scenario 15 + unit tests), so it is intentionally not duplicated. Harness gains ExtraTriggers/PinMode/ActionPins passthrough. All contains-strings verified against real generator output; build + golangci-lint clean.

…gate

Adds e2e scenarios asserting generated-workflow constructs that the live fleet cannot drive: extra orchestrate triggers (schedule/repository_dispatch/workflow_run/merge_group), pin_mode sha vs default mutable refs plus per-action overrides, and the release/promote breaking-change gate. merge_queue emission was already covered (scenario 15 + unit tests). Closes #324, closes #327, closes #322.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
ReleaseConfig has a Workflow field (the release-build callback workflow path), but the JSON schema's releaseConfig omitted it with additionalProperties:false, so a manifest using release.workflow failed schema validation despite cascade accepting it. Add the property and sync all three on-disk schema copies. Surfaced by the new promote-breaking-gate-release-build e2e scenario.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple joshua-temple merged commit 42c6c38 into main Jun 25, 2026
15 checks passed
@joshua-temple joshua-temple deleted the test/e2e-emission-coverage branch June 25, 2026 02:43
@joshua-temple joshua-temple added the test Adding or correcting tests label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Adding or correcting tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(e2e): assert the extra orchestrate triggers are emitted

1 participant